<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: gui_protocol_engine.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">gui_protocol_engine.h</div>  </div>
</div>
<div class="contents">
<a href="gui__protocol__engine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __GUI_PROTOCOL_ENGINE_H__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __GUI_PROTOCOL_ENGINE_H__ 1</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;fstream&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="stegio_8h.html">stegio.h</a>&quot;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="properties__reader_8h.html">properties_reader.h</a>&quot;</span>
<a name="l00009"></a>00009 
<a name="l00016"></a><a class="code" href="classCGuiProtocolEngine.html">00016</a> <span class="keyword">class </span><a class="code" href="classCGuiProtocolEngine.html" title="protocol engine for gui">CGuiProtocolEngine</a> : <span class="keyword">public</span> <a class="code" href="classIStegIO.html" title="abstraction layer of a steg payload data source and sink">IStegIO</a>
<a name="l00017"></a>00017 {
<a name="l00018"></a>00018 <span class="keyword">public</span>:
<a name="l00019"></a>00019 
<a name="l00024"></a>00024         <a class="code" href="classCGuiProtocolEngine.html#a1aea05219b67cc1d8e17431680d1be67">CGuiProtocolEngine</a>(<a class="code" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a>* pConfig);
<a name="l00025"></a>00025         <span class="keyword">virtual</span> <a class="code" href="classCGuiProtocolEngine.html#a9f0ceb6ed179cfd11752360c2f06f4d2">~CGuiProtocolEngine</a>();
<a name="l00026"></a>00026 
<a name="l00027"></a>00027         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classCGuiProtocolEngine.html#afa041f52b16ecc730f37fb483ff21dba">open</a>();
<a name="l00028"></a>00028         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCGuiProtocolEngine.html#a1d6a980592509648b3fff12e02dee3a6">close</a>();
<a name="l00029"></a>00029         <span class="keyword">virtual</span> <a class="code" href="namespaceNStegIO.html#a7e327c93e6134904ec18fdd7e7a72e80">NStegIO::EReadState</a> <a class="code" href="classCGuiProtocolEngine.html#a282dc38ced65366d68d4fa4eb4aedae0">read</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>&amp; pByte);
<a name="l00030"></a>00030         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCGuiProtocolEngine.html#a319afc1359f0392a7bd3d378be01fb8c">write</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> pByte);
<a name="l00031"></a>00031         <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classCGuiProtocolEngine.html#a5b2ef1ee54e9f69966768b6fed23e01b" title="get size of available bytes which can be read with the read methode. For example: If this methode ret...">available</a>();
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">private</span>:
<a name="l00034"></a>00034         <a class="code" href="classCGuiProtocolEngine.html#a1aea05219b67cc1d8e17431680d1be67">CGuiProtocolEngine</a>();
<a name="l00035"></a>00035         <a class="code" href="classCGuiProtocolEngine.html#a1aea05219b67cc1d8e17431680d1be67">CGuiProtocolEngine</a>(<span class="keyword">const</span> <a class="code" href="classCGuiProtocolEngine.html" title="protocol engine for gui">CGuiProtocolEngine</a>&amp; );
<a name="l00036"></a>00036         <a class="code" href="classCGuiProtocolEngine.html" title="protocol engine for gui">CGuiProtocolEngine</a>&amp; <a class="code" href="classCGuiProtocolEngine.html#a1a1af78051ab66b04365629dce778f51">operator=</a>(<span class="keyword">const</span> <a class="code" href="classCGuiProtocolEngine.html" title="protocol engine for gui">CGuiProtocolEngine</a>&amp; );
<a name="l00037"></a>00037 
<a name="l00038"></a><a class="code" href="classCGuiProtocolEngine.html#a0218124529e7b6e776ba691f70799637">00038</a>         <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="classCGuiProtocolEngine.html#a0218124529e7b6e776ba691f70799637">sIniSectionName</a>;
<a name="l00039"></a>00039 
<a name="l00040"></a><a class="code" href="classCGuiProtocolEngine.html#ab4353e5505fcba4443b4512bfcecbdeb">00040</a>         <a class="code" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a>* <a class="code" href="classCGuiProtocolEngine.html#ab4353e5505fcba4443b4512bfcecbdeb">mConfig</a>;
<a name="l00041"></a>00041 };
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="preprocessor">#endif // __GUI_PROTOCOL_ENGINE_H__</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:39 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
